package com.fc.mall.service;

import com.fc.mall.dto.*;
import com.fc.mall.dto.SmsBargainParam;
import com.fc.mall.dto.SmsBargainProdRequest;
import com.fc.mall.dto.SmsBargainProductDto;
import com.fc.mall.dto.SmsBargainProductResponse;

import java.util.List;

/**
 * Created by sunny on 2019/9/24.
 */
public interface SmsBargainService {

    List<SmsBargainProductDto> queryProductBargainList(SmsBargainParam smsBargainParam, int pageNum, int pageSize);

    int createOrUpdateBargainProduct(SmsBargainProdRequest bargainProdRequest);

    SmsBargainProductResponse getBargainProductById(Long bargainId);

    List<SmsBargainProductDto> getBargainProductByIds(SmsBargainParam smsBargainParam,int pageNum, int pageSize);

    List<SmsBargainProductDto> getBargainProductExcludeIds(SmsBargainParam smsBargainParam,int pageNum, int pageSize);

    int delBargainProductId(Long bargainId);
}
